<template>
	<div>
		<!-- 工单领料 -->
		<v-card>
			<v-toolbar flat color="primary" dark>
				<v-toolbar-title>领料信息</v-toolbar-title>
			</v-toolbar>
			<v-tabs color="red">
				<v-tab v-if="showJmaterialtransfter">
					机加领料单维护
				</v-tab>
				<v-tab v-if="showZpmaterialtransfter">
					装配领料单维护
				</v-tab>
				<v-tab v-if="showRequestorder"> 
					领料单维护
				</v-tab>
			<!-- 	<v-tab v-if="showTransfer">
					调拨单维护
				</v-tab> -->

				<!-- 机加领料单调拨单维护-->
				<v-tab-item>
					<jjmaterialtransfter v-if="showJmaterialtransfter"></jjmaterialtransfter>
				</v-tab-item>

				<!-- 电控、装配、其它领料单调拨单维护 -->
				<v-tab-item>
					<zpmaterialtransfter v-if="showZpmaterialtransfter"></zpmaterialtransfter>
				</v-tab-item>

				<!-- 领料单维护 -->
				<v-tab-item>
					<requestorder v-if="showRequestorder"></requestorder>
				</v-tab-item>
				<!-- 调拨单维护 -->
				<!-- <v-tab-item>
					<transfer v-if="showTransfer"></transfer>
				</v-tab-item> -->
			</v-tabs>
		</v-card>
	</div>
</template>

<script>
	import jjmaterialtransfter from '../components/getwo_material/jj_request_transfter_order'
	import zpmaterialtransfter from '../components/getwo_material/zp_request_transfer_order.vue'
	import requestorder from '../components/getwo_material/maintenance_requestorder.vue'
	import transfer from '../components/getwo_material/maintenance_transfterorder.vue'
	export default {
		name: 'mes_production_getwo_material',
		components: {
			jjmaterialtransfter,
			zpmaterialtransfter,
			requestorder,
			transfer
		},
		data: () => ({
			//机加领料调拨单创建
			showJmaterialtransfter:true,
			//装配领料调拨单创建
			showZpmaterialtransfter:true,
			//维护领料单
			showRequestorder:true,
			//维护调拨单
			showTransfer:true,
		})
	}
</script>


<style>
</style>
